import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/merchant/merchant_wallet_record/pageList',
    method: 'get',
    params: {
      ...params,
      current,
      size
    }
  })
}
export const getStatistics = (params) => {
  return request({
    url: '/api/rb-oem/oem/merchant/merchant_wallet_record/statistics',
    method: 'get',
    params: {
      ...params
    }
  })
}
/* 导出 */
export const getExport = (params) => {
  return request({
    headers: {
      "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
    },
    responseType: 'blob',
    url: '/api/rb-oem/oem/merchant/merchant_wallet_record/pageListExport',
    method: 'get',
    params: {
      ...params
    }
  })
}
